package com.itheima.dao;

import com.itheima.pojo.Port;

import java.util.List;
import java.util.Map;

public interface ReportDao {

    //根据月份查询该月会员总数
    public Integer memberCount(String month);

    //查询各个套餐的总预约人数
    public List<Map<String,Object>> getSetmealReport();

    //--------------------------------------------

    //查询该日新加会员
    Integer gettodayNewMember(String Today);
    //会员总数
    Integer totalMember();
    //查询该日期之后的会员申请总数
    Integer getMemberCountByDate(String thisWeekMonday);

    //查询该日预约总数
    Integer getTodayOrderNumber(String today);

    //查询该两个日期之间的预约总数
    Integer getOrderCountByDate(Map map);

    //查询该日以到诊人数
    Integer gettodayVisitsNumber(String today);

    //查询该两个日期之间的到诊人数总和
    Integer VisitsCountByDate(Map map);

    //热门套餐(取前四 - > 预约总数排名)
    List<Map<String, Object>> gethotSetmeal();

    List<Map<String, Object>> getMemberBySex();

    List<Map<String, Object>> getMemberByAge();

    List<Map<String,Object>> portCount(Map map);
}
